#ifndef __NETWORK_H__
#define __NETWORK_H__

#include <iostream>
#include <boost/array.hpp>
#include <boost/asio.hpp>

using namespace boost::asio;

class Network {
public:
	Network() {}
	virtual ~Network() {}
	
	bool SetConf( ptree& conf );
	bool Service();
	bool Connect( string host, int port );
// 	size_t Write( 
	
private:
	 io_service io;
};

#endif
